Optimal. Leaf size=18 \[ -\frac{1}{x^2}-\frac{1}{3 x^3}-\frac{1}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0047827, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {14} \[ -\frac{1}{x^2}-\frac{1}{3 x^3}-\frac{1}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin{align*} \int \frac{1+2 x+x^2}{x^4} \, dx &=\int \left (\frac{1}{x^4}+\frac{2}{x^3}+\frac{1}{x^2}\right ) \, dx\\ &=-\frac{1}{3 x^3}-\frac{1}{x^2}-\frac{1}{x}\\ \end{align*}
Mathematica [A] time = 0.000654, size = 18, normalized size = 1. \[ -\frac{1}{x^2}-\frac{1}{3 x^3}-\frac{1}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.042, size = 17, normalized size = 0.9 \begin{align*} -{\frac{1}{3\,{x}^{3}}}-{x}^{-2}-{x}^{-1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.00815, size = 20, normalized size = 1.11 \begin{align*} -\frac{3 \, x^{2} + 3 \, x + 1}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67771, size = 38, normalized size = 2.11 \begin{align*} -\frac{3 \, x^{2} + 3 \, x + 1}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.087984, size = 15, normalized size = 0.83 \begin{align*} - \frac{3 x^{2} + 3 x + 1}{3 x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13123, size = 20, normalized size = 1.11 \begin{align*} -\frac{3 \, x^{2} + 3 \, x + 1}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]